/**
 * 
 */
package com.kunbo.cn.service.core.inventory;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

import com.kunbo.cn.entity.core.inventory.Organization;

/**
 *
 * @author bjl  
 * @date 2019年2月27日 
 * 
 */
public interface OrganizationService {
	public void save(Organization organize);
	public void update(Organization organize);
	public void updateValidState(Organization organize);
	public void delete(String id);
	
	//根据id查找部门
	public Organization findById(String id);
	//获取部门的树形列表
	public List<Organization> getOrganizationTreeList();
	
	Page<Organization> findOrganizationByTitle(String title, Integer pageNo,Integer pageSize);
}
